package com.tlgen.modules.system.service.mapper;

import com.tlgen.common.base.BaseMapper;
import com.tlgen.modules.system.domain.Role;
import com.tlgen.modules.system.service.dto.RoleDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**功能描述：角色实体映射
 */
@Mapper(componentModel = "spring",uses = {MenuMapper.class},
        unmappedTargetPolicy = ReportingPolicy.IGNORE)//未映射的目标属性被忽略
public interface RoleMapper extends BaseMapper<RoleDto, Role> {
}
